from common.locate_by import By

class LocPlanTextAssess:
    loc_sure = {
        "page_role": By.dialog,
        "page_title": "评估",
        "loc_role": By.button,
        "loc_name": "保存",
    }

    loc_cancel = {
        "page_role": By.dialog,
        "page_title": "评估",
        "loc_role": By.button,
        "loc_name": "取消",
    }

    loc_close = {
        "page_role": By.dialog,
        "page_title": "评估",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_evaluation_time = {
        "page_role": By.dialog,
        "page_title": "评估",
        "loc_role": By.combobox,
        "loc_name": "* 最近定期评估日期",
    }

    loc_evaluation_opinion = {
        "page_role": By.dialog,
        "page_title": "评估",
        "loc_role": By.combobox,
        "loc_name": "* 评估意见",
    }

    loc_attachment = {
        "page_role": By.dialog,
        "page_title": "评估",
        "loc_role": By.button,
        "loc_name": "选择文件",
    }
    loc_preview = {
        "page_role": By.dialog,
        "page_title": "修改",
        "loc_role": By.button,
        "loc_name": "预览",
    }
    loc_download = {
        "page_role": By.dialog,
        "page_title": "修改",
        "loc_role": By.button,
        "loc_name": "下载",
    }
    loc_remove = {
        "page_role": By.dialog,
        "page_title": "修改",
        "loc_role": By.button,
        "loc_name": "移除",
    }